package com.dearcocoa.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @Package: com.dearcocoa.vo
 * @ClassName: JwtResponse
 * @Author: shengong
 * @Date: Created in 2020-08-08 21:21
 * @Version: V1.0
 * @Description: TODO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class JwtResponse {
    /**
     * token 字段
     */
    private String token;
    /**
     * token类型
     */
    private String tokenType = "Bearer";

    public JwtResponse(String token) {
        this.token = token;
    }
}
